﻿@model GameSchoolApplication.Models.Person

<div class="radio-field">
    @Html.RadioButtonFor(model => model.Group, "Teacher", new { @id="group_teacher"})
    @Html.Label("group_teacher", "Kennari")
    @Html.RadioButtonFor(model => model.Group, "Student", new { @id="group_student"})
    @Html.Label("group_student", "Nemandi")
    @Html.RadioButtonFor(model => model.Group, "Admin", new { @id="group_admin"})
    @Html.Label("group_admin", "Umsjónaraðili")
    @Html.ValidationMessageFor(model => model.Group)
</div>            
<div class="editor-label">
    @Html.LabelFor(model => model.Name)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Name)
    @Html.ValidationMessageFor(model => model.Name)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Email)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Email)
    @Html.ValidationMessageFor(model => model.Email)
</div>
<div class="editor-label">
    @Html.LabelFor(model => model.UserName)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.UserName)
    @Html.ValidationMessageFor(model => model.UserName)
</div>

<div class="editor-label">
    @Html.LabelFor(model => model.Password)
</div>
<div class="editor-field">
    @Html.EditorFor(model => model.Password)
    @Html.ValidationMessageFor(model => model.Password)
</div>